<?php

class row_Projetos extends Zend_Db_Table_Row_Abstract
{

    protected $responsavel;
    
    public function responsavel(){
        $responsavel = $this->findParentRow('Usuarios');
        return $responsavel->nome;
    }
    
    function __get($key)
    {
        if(method_exists($this, $key)){
            return $this->$key();
        }
        return parent::__get($key);
    }
}
